package com.dmap.admin.po;

import java.io.Serializable;

public class AndroidVersion implements Serializable {
    /**
     * 主键id
     * 表字段 : android_version.id
     */
    private Long id;

    /**
     * 项目编号
     * 表字段 : android_version.app_number
     */
    private String appNumber;

    /**
     * 最小版本
     * 表字段 : android_version.min_version
     */
    private String minVersion;

    /**
     * 最新版本
     * 表字段 : android_version.new_version
     */
    private String newVersion;

    /**
     * 描述
     * 表字段 : android_version.description
     */
    private String description;

    /**
     * 
     * 表字段 : android_version.description_en
     */
    private String descriptionEn;

    /**
     * 
     * 表字段 : android_version.min_version_code
     */
    private String minVersionCode;

    /**
     * 
     * 表字段 : android_version.new_version_code
     */
    private String newVersionCode;

    /**
     * 下载地址
     * 表字段 : android_version.url
     */
    private String url;

    /**
     * 
     * 表字段 : android_version.md5
     */
    private String md5;

    /**
     * app上传时间，时间戳
     * 表字段 : android_version.upload_time
     */
    private Long uploadTime;

    /**
     * 版本json文件存放的相对路径
     * 表字段 : android_version.json_url
     */
    private String jsonUrl;

    /**
     *  状态：1正常，2禁用
     * 表字段 : android_version.status
     */
    private Integer status;

    /**
     * 创建时间
     * 表字段 : android_version.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : android_version.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table android_version
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table android_version
     *
     * @mbggenerated
     */
    public AndroidVersion(Long id, String appNumber, String minVersion, String newVersion, String description, String descriptionEn, String minVersionCode, String newVersionCode, String url, String md5, Long uploadTime, String jsonUrl, Integer status, Long createTime, Long updateTime) {
        this.id = id;
        this.appNumber = appNumber;
        this.minVersion = minVersion;
        this.newVersion = newVersion;
        this.description = description;
        this.descriptionEn = descriptionEn;
        this.minVersionCode = minVersionCode;
        this.newVersionCode = newVersionCode;
        this.url = url;
        this.md5 = md5;
        this.uploadTime = uploadTime;
        this.jsonUrl = jsonUrl;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table android_version
     *
     * @mbggenerated
     */
    public AndroidVersion() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.id
     *
     * @return the value of android_version.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.id
     *
     * @param id the value for android_version.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.app_number
     *
     * @return the value of android_version.app_number
     *
     * @mbggenerated
     */
    public String getAppNumber() {
        return appNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.app_number
     *
     * @param appNumber the value for android_version.app_number
     *
     * @mbggenerated
     */
    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber == null ? null : appNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.min_version
     *
     * @return the value of android_version.min_version
     *
     * @mbggenerated
     */
    public String getMinVersion() {
        return minVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.min_version
     *
     * @param minVersion the value for android_version.min_version
     *
     * @mbggenerated
     */
    public void setMinVersion(String minVersion) {
        this.minVersion = minVersion == null ? null : minVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.new_version
     *
     * @return the value of android_version.new_version
     *
     * @mbggenerated
     */
    public String getNewVersion() {
        return newVersion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.new_version
     *
     * @param newVersion the value for android_version.new_version
     *
     * @mbggenerated
     */
    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion == null ? null : newVersion.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.description
     *
     * @return the value of android_version.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.description
     *
     * @param description the value for android_version.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.description_en
     *
     * @return the value of android_version.description_en
     *
     * @mbggenerated
     */
    public String getDescriptionEn() {
        return descriptionEn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.description_en
     *
     * @param descriptionEn the value for android_version.description_en
     *
     * @mbggenerated
     */
    public void setDescriptionEn(String descriptionEn) {
        this.descriptionEn = descriptionEn == null ? null : descriptionEn.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.min_version_code
     *
     * @return the value of android_version.min_version_code
     *
     * @mbggenerated
     */
    public String getMinVersionCode() {
        return minVersionCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.min_version_code
     *
     * @param minVersionCode the value for android_version.min_version_code
     *
     * @mbggenerated
     */
    public void setMinVersionCode(String minVersionCode) {
        this.minVersionCode = minVersionCode == null ? null : minVersionCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.new_version_code
     *
     * @return the value of android_version.new_version_code
     *
     * @mbggenerated
     */
    public String getNewVersionCode() {
        return newVersionCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.new_version_code
     *
     * @param newVersionCode the value for android_version.new_version_code
     *
     * @mbggenerated
     */
    public void setNewVersionCode(String newVersionCode) {
        this.newVersionCode = newVersionCode == null ? null : newVersionCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.url
     *
     * @return the value of android_version.url
     *
     * @mbggenerated
     */
    public String getUrl() {
        return url;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.url
     *
     * @param url the value for android_version.url
     *
     * @mbggenerated
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.md5
     *
     * @return the value of android_version.md5
     *
     * @mbggenerated
     */
    public String getMd5() {
        return md5;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.md5
     *
     * @param md5 the value for android_version.md5
     *
     * @mbggenerated
     */
    public void setMd5(String md5) {
        this.md5 = md5 == null ? null : md5.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.upload_time
     *
     * @return the value of android_version.upload_time
     *
     * @mbggenerated
     */
    public Long getUploadTime() {
        return uploadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.upload_time
     *
     * @param uploadTime the value for android_version.upload_time
     *
     * @mbggenerated
     */
    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.json_url
     *
     * @return the value of android_version.json_url
     *
     * @mbggenerated
     */
    public String getJsonUrl() {
        return jsonUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.json_url
     *
     * @param jsonUrl the value for android_version.json_url
     *
     * @mbggenerated
     */
    public void setJsonUrl(String jsonUrl) {
        this.jsonUrl = jsonUrl == null ? null : jsonUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.status
     *
     * @return the value of android_version.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.status
     *
     * @param status the value for android_version.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.create_time
     *
     * @return the value of android_version.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.create_time
     *
     * @param createTime the value for android_version.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column android_version.update_time
     *
     * @return the value of android_version.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column android_version.update_time
     *
     * @param updateTime the value for android_version.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table android_version
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appNumber=").append(appNumber);
        sb.append(", minVersion=").append(minVersion);
        sb.append(", newVersion=").append(newVersion);
        sb.append(", description=").append(description);
        sb.append(", descriptionEn=").append(descriptionEn);
        sb.append(", minVersionCode=").append(minVersionCode);
        sb.append(", newVersionCode=").append(newVersionCode);
        sb.append(", url=").append(url);
        sb.append(", md5=").append(md5);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", jsonUrl=").append(jsonUrl);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}